<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Somakang</id>
	<title>OSGeo - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Somakang"/>
	<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/wiki/Special:Contributions/Wiki-Somakang"/>
	<updated>2026-04-11T11:05:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=124949</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=124949"/>
		<updated>2020-07-01T00:33:57Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the mentorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
===== 2.1.1. Install uDig SW =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;*Name:&amp;lt;/b&amp;gt; Processing Toolbox for uDig&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;*URL:&amp;lt;/b&amp;gt; http://www.mangosystem.com:8080/s2toolbox_updates&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, lets’ load the Processing Toolbox into uDig.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step1.&amp;lt;/b&amp;gt; Set a location of repository for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
[Help] --&amp;gt; [Find and Install] (Figure2): Install/Update window will pop up (Figure3) --&amp;gt; Click ‘Search for new features to install’ --&amp;gt; ‘Next’ button: Install window will pop up (Figure 4) --&amp;gt; Click ‘New Remote Site’ button à put repository Name and URL --&amp;gt; Click ‘OK’ button (Figure 5) --&amp;gt; Next button (Figure 6)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 2.&amp;lt;/b&amp;gt; Agree Feature License (Figure 7) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 3.&amp;lt;/b&amp;gt; Loading plug-in (Figure 8) à Install all (Figure 9) à Restart (Figure 10)&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 4.&amp;lt;/b&amp;gt; View Processing Toolbox on uDig (Figure11- Figure 13)&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118833</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118833"/>
		<updated>2018-12-11T08:57:03Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
===== 2.1.1. Install uDig SW =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;*Name:&amp;lt;/b&amp;gt; Processing Toolbox for uDig&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;*URL:&amp;lt;/b&amp;gt; http://www.mangosystem.com:8080/s2toolbox_updates&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, lets’ load the Processing Toolbox into uDig.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step1.&amp;lt;/b&amp;gt; Set a location of repository for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
[Help] --&amp;gt; [Find and Install] (Figure2): Install/Update window will pop up (Figure3) --&amp;gt; Click ‘Search for new features to install’ --&amp;gt; ‘Next’ button: Install window will pop up (Figure 4) --&amp;gt; Click ‘New Remote Site’ button à put repository Name and URL --&amp;gt; Click ‘OK’ button (Figure 5) --&amp;gt; Next button (Figure 6)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 2.&amp;lt;/b&amp;gt; Agree Feature License (Figure 7) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 3.&amp;lt;/b&amp;gt; Loading plug-in (Figure 8) à Install all (Figure 9) à Restart (Figure 10)&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 4.&amp;lt;/b&amp;gt; View Processing Toolbox on uDig (Figure11- Figure 13)&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118832</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118832"/>
		<updated>2018-12-11T08:56:41Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
===== 2.1.1. Install uDig SW =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;*Name:&amp;lt;/b&amp;gt; Processing Toolbox for uDig&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;*URL:&amp;lt;/b&amp;gt; http://www.mangosystem.com:8080/s2toolbox_updates&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Now, lets’ load the Processing Toolbox into uDig.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step1.&amp;lt;/b&amp;gt; Set a location of repository for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
[Help] --&amp;gt; [Find and Install] (Figure2): Install/Update window will pop up (Figure3) --&amp;gt; Click ‘Search for new features to install’ --&amp;gt; ‘Next’ button: Install window will pop up (Figure 4) --&amp;gt; Click ‘New Remote Site’ button à put repository Name and URL --&amp;gt; Click ‘OK’ button (Figure 5) --&amp;gt; Next button (Figure 6)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 2.&amp;lt;/b&amp;gt; Agree Feature License (Figure 7) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 3.&amp;lt;/b&amp;gt; Loading plug-in (Figure 8) à Install all (Figure 9) à Restart (Figure 10)&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 4.&amp;lt;/b&amp;gt; View Processing Toolbox on uDig (Figure11- Figure 13)&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118831</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118831"/>
		<updated>2018-12-11T08:55:52Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
===== 2.1.1. Install uDig SW =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in =====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
Name: Processing Toolbox for uDig&amp;lt;br /&amp;gt;&lt;br /&gt;
URL: http://www.mangosystem.com:8080/s2toolbox_updates&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Now, lets’ load the Processing Toolbox into uDig.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step1.&amp;lt;/b&amp;gt; Set a location of repository for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
[Help] --&amp;gt; [Find and Install] (Figure2): Install/Update window will pop up (Figure3) --&amp;gt; Click ‘Search for new features to install’ --&amp;gt; ‘Next’ button: Install window will pop up (Figure 4) --&amp;gt; Click ‘New Remote Site’ button à put repository Name and URL --&amp;gt; Click ‘OK’ button (Figure 5) --&amp;gt; Next button (Figure 6)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 2.&amp;lt;/b&amp;gt; Agree Feature License (Figure 7) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 3.&amp;lt;/b&amp;gt; Loading plug-in (Figure 8) à Install all (Figure 9) à Restart (Figure 10)&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 4.&amp;lt;/b&amp;gt; View Processing Toolbox on uDig (Figure11- Figure 13)&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118830</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118830"/>
		<updated>2018-12-11T08:53:31Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt; 2.1.1. Install uDig SW &amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt; 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
Name: Processing Toolbox for uDig&amp;lt;br /&amp;gt;&lt;br /&gt;
URL: http://www.mangosystem.com:8080/s2toolbox_updates&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Now, lets’ load the Processing Toolbox into uDig.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step1.&amp;lt;/b&amp;gt; Set a location of repository for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
[Help] --&amp;gt; [Find and Install] (Figure2): Install/Update window will pop up (Figure3) --&amp;gt; Click ‘Search for new features to install’ --&amp;gt; ‘Next’ button: Install window will pop up (Figure 4) --&amp;gt; Click ‘New Remote Site’ button à put repository Name and URL --&amp;gt; Click ‘OK’ button (Figure 5) --&amp;gt; Next button (Figure 6)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 2.&amp;lt;/b&amp;gt; Agree Feature License (Figure 7) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 3.&amp;lt;/b&amp;gt; Loading plug-in (Figure 8) à Install all (Figure 9) à Restart (Figure 10)&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;Step 4.&amp;lt;/b&amp;gt; View Processing Toolbox on uDig (Figure11- Figure 13)&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118829</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118829"/>
		<updated>2018-12-11T08:51:22Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt; 2.1.1. Install uDig SW &amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt; 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&amp;lt;br /&amp;gt;&lt;br /&gt;
Name: Processing Toolbox for uDig&amp;lt;br /&amp;gt;&lt;br /&gt;
URL: http://www.mangosystem.com:8080/s2toolbox_updates&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118828</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118828"/>
		<updated>2018-12-11T08:50:40Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt; 2.1.1. Install uDig SW &amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt; 2.1.2. Load &amp;quot;Processing Toolbox&amp;quot; plug-in&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&lt;br /&gt;
Name: Processing Toolbox for uDig&lt;br /&gt;
URL: http://www.mangosystem.com:8080/s2toolbox_updates&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118827</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118827"/>
		<updated>2018-12-11T08:49:50Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;&amp;lt;span style='color:#0070C0'&amp;gt; A. Install uDig SW &amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;&amp;lt;span style='color:#0070C0'&amp;gt; B. Load &amp;quot;Processing Toolbox&amp;quot; plug-in&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&lt;br /&gt;
Name: Processing Toolbox for uDig&lt;br /&gt;
URL: http://www.mangosystem.com:8080/s2toolbox_updates&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118826</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118826"/>
		<updated>2018-12-11T08:49:23Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;&amp;lt;span style='color:#0070C0'&amp;gt; A. Install uDig SW &amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;b&amp;gt;&amp;lt;span style='color:#0070C0'&amp;gt; Load &amp;quot;Processing Toolbox&amp;quot; plug-in&amp;lt;/span&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please keep the repository information for Processing Toolbox plug-in.&lt;br /&gt;
Name: Processing Toolbox for uDig&lt;br /&gt;
URL: http://www.mangosystem.com:8080/s2toolbox_updates&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118825</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118825"/>
		<updated>2018-12-11T08:46:07Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;span style='color:#0070C0'&amp;gt; Install uDig SW &amp;lt;/span&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;big&amp;gt;&amp;lt;span style='color:#0070C0'&amp;gt; load &amp;quot;Processing Toolbox&amp;quot; plug-in&amp;lt;/span&amp;gt;&amp;lt;/big&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118824</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118824"/>
		<updated>2018-12-11T08:44:25Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&amp;lt;big&amp;gt; Install uDig SW&amp;lt;/big&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;lt;sup&amp;gt;load &amp;quot;Processing Toolbox&amp;quot; plug-in&amp;lt;/sup&amp;gt;&amp;lt;/big&amp;gt;&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118823</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118823"/>
		<updated>2018-12-11T08:41:38Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
&amp;lt;big&amp;gt; Install uDig SW&amp;lt;/big&amp;gt;&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118821</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118821"/>
		<updated>2018-12-11T08:40:36Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118820</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118820"/>
		<updated>2018-12-11T08:39:51Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.4 Clip dataset for the next analytic process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.5 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118819</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118819"/>
		<updated>2018-12-11T08:39:33Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.3 Set Coordinate Reference System of the dataset */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118818</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118818"/>
		<updated>2018-12-11T08:38:48Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 Dataset Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Download a dataset for geo-analysis ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118817</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118817"/>
		<updated>2018-12-11T08:38:09Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.2. Set UDig */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3. Set UDig : New Project and New Map  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118816</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118816"/>
		<updated>2018-12-11T08:35:06Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''].&lt;br /&gt;
Other uDig versions are accessible at [http://udig.refractions.net/ '''uDig webpage''' ].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118815</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118815"/>
		<updated>2018-12-11T08:34:01Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
You can download uDig for Windows 64bit at [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe'''udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118814</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118814"/>
		<updated>2018-12-11T08:32:23Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[href=&amp;quot;http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe uDig]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118813</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118813"/>
		<updated>2018-12-11T08:31:36Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
uDig for Windows 64bit &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[href=&amp;quot;http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118812</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118812"/>
		<updated>2018-12-11T08:29:59Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&amp;quot;uDig for Windows 64bit&amp;quot;&amp;gt;[href=&amp;quot;http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118811</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118811"/>
		<updated>2018-12-11T08:27:34Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
You can download uDig for Windows 64bit at &amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe&amp;quot; download&amp;gt;&lt;br /&gt;
udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe. &amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href = &amp;quot;http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe&amp;quot;&amp;gt;TEST&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118810</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118810"/>
		<updated>2018-12-11T08:25:25Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
You can download uDig for Windows 64bit at &amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe&amp;quot; download&amp;gt;&lt;br /&gt;
udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe. &amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118809</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118809"/>
		<updated>2018-12-11T08:22:19Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Preparation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
You can download uDig for Windows 64bit at &amp;lt;a href=&amp;quot;http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe&amp;quot; download&amp;gt;&lt;br /&gt;
udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe. &amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118808</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118808"/>
		<updated>2018-12-11T08:20:27Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1.1 Install uDig SW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe [http://www.mangosystem.com:8080/udig/udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe]. &lt;br /&gt;
Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118807</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118807"/>
		<updated>2018-12-11T08:14:39Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Prepare uDig and &amp;quot;Processing Toolbox&amp;quot;(uDig plugin for geo-analysis library) ===&lt;br /&gt;
==== 2.1.1 Install uDig SW ====&lt;br /&gt;
You can download uDig for Windows 64bit at udig-2.0.0-SNAPSHOT.win32.win32.x86_64.exe&amp;lt;/a&amp;gt;. Other uDig versions are accessible at uDig webpage [http://udig.refractions.net/].&lt;br /&gt;
&lt;br /&gt;
==== 2.1.2 load &amp;quot;Processing Toolbox&amp;quot; plug-in  ====&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118806</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118806"/>
		<updated>2018-12-11T08:04:44Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 1.1 Purpose of this document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
       &amp;lt;/ul&amp;gt;&lt;br /&gt;
     &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
 &amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118805</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118805"/>
		<updated>2018-12-11T08:02:59Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 1.1 Purpose of this document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118804</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118804"/>
		<updated>2018-12-11T08:02:46Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 1.1 Purpose of this document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories. &amp;lt;/span&amp;gt; First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118803</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118803"/>
		<updated>2018-12-11T08:02:25Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 1.1 Purpose of this document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118802</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118802"/>
		<updated>2018-12-11T07:52:53Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis. Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories. First General Tools are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, Spatial Statistics Tools are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, Raster Tools are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis.  Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories&amp;lt;/span&amp;gt;. First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118801</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118801"/>
		<updated>2018-12-11T07:51:10Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 1.1 Purpose of this document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis. Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories. First General Tools are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, Spatial Statistics Tools are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, Raster Tools are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis.  Geo-analytic functions in the 'Processing Toolbox' library are divided into &amp;lt;span style='color:#0070C0'&amp;gt; 4 categories&amp;lt;/span&amp;gt;. First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118800</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118800"/>
		<updated>2018-12-11T07:48:44Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis. Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories. First General Tools are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, Spatial Statistics Tools are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, Raster Tools are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118799</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118799"/>
		<updated>2018-12-11T07:47:44Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 1.1 Purpose of this document */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library called &amp;quot;uDig Processing Toolbox&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis. Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories. First General Tools are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, Spatial Statistics Tools are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, Raster Tools are to support raster data analysis functions such as Radial Line of Sight. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis. It provides &amp;lt;span style='color:#0070C0'&amp;gt;3 types of tools. &amp;lt;/span&amp;gt;First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118798</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118798"/>
		<updated>2018-12-11T07:38:05Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
uDig Processing Toolbox is a uDig plug-in supporting geospatial analysis. It provides &amp;lt;span style='color:#0070C0'&amp;gt;3 types of tools. &amp;lt;/span&amp;gt;First&amp;lt;span style='color:#0070C0'&amp;gt; General Tools &amp;lt;/span&amp;gt;are to support I/O, visualize, primitive geometry functions such as extract, clip, aggregate and dissolve. Second, &amp;lt;span style='color:#0070C0'&amp;gt;Spatial Statistics Tools&amp;lt;/span&amp;gt; are to provide geo-statistical analysis functions such as Ordinary Least Squares s(OLS). Third, &amp;lt;span style='color:#0070C0'&amp;gt;Raster Tools &amp;lt;/span&amp;gt;are to support raster data analysis functions such as Radial Line of Sight. Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118797</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118797"/>
		<updated>2018-12-11T07:35:53Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
Step1. Install uDig SW on your system up to your OS.&lt;br /&gt;
Step2. Run uDig&lt;br /&gt;
Step3. Create a new project file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118796</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118796"/>
		<updated>2018-12-11T07:24:04Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 Dataset Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 Dataset Download ===&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118795</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118795"/>
		<updated>2018-12-11T07:13:22Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Preparation : dataset, uDig, and uDig plugin &amp;quot;Processing Toolbox&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and its plugin &amp;quot;Processing Toolbox&amp;quot; for GeoAnalysis ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 2.1 Dataset Download ====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118794</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118794"/>
		<updated>2018-12-11T07:12:54Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Preparation : dataset and uDig */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset, uDig, and uDig plugin &amp;quot;Processing Toolbox&amp;quot; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 2.1 Dataset Download ====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118793</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118793"/>
		<updated>2018-12-11T07:12:05Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 The uDig plugin &amp;quot;Processing Toolbox&amp;quot; geo-analysis library */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset and uDig ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 &amp;quot;Processing Toolbox&amp;quot;, uDig plugin for geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 2.1 Dataset Download ====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2. Set UDig  ===&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.3 Set Coordinate Reference System of the dataset ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.4 Clip dataset for the next analytic process  ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118792</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118792"/>
		<updated>2018-12-11T07:10:38Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.2. Set UDig */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset and uDig ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig plugin &amp;quot;Processing Toolbox&amp;quot; geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 2.1 Dataset Download ====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2. Set UDig  ====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.4 Clip dataset for the next analytic process  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118791</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118791"/>
		<updated>2018-12-11T07:10:16Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.2 Preliminary operations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset and uDig ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig plugin &amp;quot;Processing Toolbox&amp;quot; geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 2.1 Dataset Download ====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2. Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.4 Clip dataset for the next analytic process  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118790</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118790"/>
		<updated>2018-12-11T07:05:21Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 The uDig plugin &amp;quot;Processing Toolbox&amp;quot; geo-analysis library */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset and uDig ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig plugin &amp;quot;Processing Toolbox&amp;quot; geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we show how to use functions in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Preliminary operations ===&lt;br /&gt;
&lt;br /&gt;
===== 2.2.1 Dataset Download =====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.2 Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.4 Clip  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118789</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118789"/>
		<updated>2018-12-11T07:04:58Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.2 Preliminary operations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset and uDig ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig plugin &amp;quot;Processing Toolbox&amp;quot; geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Preliminary operations ===&lt;br /&gt;
&lt;br /&gt;
===== 2.2.1 Dataset Download =====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.2 Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.4 Clip  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118788</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118788"/>
		<updated>2018-12-11T07:00:50Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2.1 The uDig Processing Toolbox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset and uDig ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig plugin &amp;quot;Processing Toolbox&amp;quot; geo-analysis library ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geo-analytic functions in the 'Processing Toolbox' library are divided into 4 categories:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Preliminary operations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we illustrate some of the functions available in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.1 Dataset Download =====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.2 Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.4 Clip  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118787</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118787"/>
		<updated>2018-12-11T06:57:45Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Preparation : dataset and uDig */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation : dataset and uDig ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig Processing Toolbox ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The entire Processing Toolbox library is divided into 4 main sections:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Preliminary operations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we illustrate some of the functions available in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.1 Dataset Download =====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.2 Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.4 Clip  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118786</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118786"/>
		<updated>2018-12-11T06:55:43Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* 2. Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Preparation ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig Processing Toolbox ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The entire Processing Toolbox library is divided into 4 main sections:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Preliminary operations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we illustrate some of the functions available in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.1 Dataset Download =====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.2 Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.4 Clip  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118785</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118785"/>
		<updated>2018-12-11T06:52:47Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* Clip */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Introduction ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig Processing Toolbox ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The entire Processing Toolbox library is divided into 4 main sections:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Preliminary operations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we illustrate some of the functions available in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.1 Dataset Download =====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.2 Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.4 Clip  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118784</id>
		<title>Training Material for UN Open GIS Spiral 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Training_Material_for_UN_Open_GIS_Spiral_3&amp;diff=118784"/>
		<updated>2018-12-11T06:52:02Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Somakang: /* Clip */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 1. General Info==&lt;br /&gt;
The OSGeo UN Committee promotes the development and use of open source software that meets UN needs and supports the aims of the UN. Following a meeting between OSGeo Board of Directors and the UN GIS team at FOSS4G in Seoul, Korea in September 2015, the Committee has mainly worked on the UN Open GIS Initiative, a project “...to identify and develop an Open Source GIS bundle that meets the requirements of UN operations, taking full advantage of the expertise of mission partners including partner nations, technology contributing countries, international organisations, academia, NGOs, private sector. The strategic approach shall be developed with best and shared principles, standards and ownership in a prioritized manner that addresses capability gaps and needs without duplicating efforts of other Member States or entities. The UN Open GIS Initiative strategy shall collaboratively and cooperatively develop, validate, assess, migrate and implement sound technical capabilities with all the appropriate documentation and training that in the end provides a united effort to improve the effectiveness and efficiency of utilizing Open Source GIS around the world.” (more details at [https://wiki.osgeo.org/wiki/UnitedNations_Committee]). &lt;br /&gt;
&lt;br /&gt;
OSGeo UN Commiittee called proposals for developing open geospatial educational materials (more details at [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/]) as a part of the activities in the OSGeo UN Commiittee. Silvia Franceschi (HydroloGIS) was selected as a winner for &amp;quot;Educational Challenge 2&amp;quot;. This document is the result of the challenge 2.&lt;br /&gt;
&lt;br /&gt;
=== 1.1 Purpose of this document===&lt;br /&gt;
This educational material is designed as a step-by-step software learning guide for geo-analytic library. It will provide how to analyse raster data like NDVI and DTM and vector data like density analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The geo-analytic library is developed by Director ''Minpa Lee'''team of MangoSystem, and is a collaboration outcome of 'UN Open GIS Initiative - Spiral 3 Geoanalysis' and OpenGDS R&amp;amp;D program of Korea. You can see more details at [http://www.mangosystem.com:8080/gxt/udig_en/].&lt;br /&gt;
&lt;br /&gt;
The course is structured with contents to suit novice, intermediate and advanced users.&lt;br /&gt;
&lt;br /&gt;
=== 1.2 Target Audience===&lt;br /&gt;
The primary target audience is professionals who needs geo-statistic functions.&lt;br /&gt;
&lt;br /&gt;
=== 1.3 License===&lt;br /&gt;
This educational material was written by Silvia Franceschi and Andrea Antonello (HydroloGIS) with the menthorship of HaeKyong Kang of the Korea Research Institute for Human Settlements and Minpa Lee of MangoSystem, within the project of collaboration between the OSGEO foundation and UN institute under the framework of the [https://www.osgeo.org/foundation-news/osgeo-un-committee-educational-challenge/ UN OSGeo Challenge].&lt;br /&gt;
It is distributed according to the CREATIVE COMMONS deed: Attribution - NoDerivs 2.0.&lt;br /&gt;
According to this license type you are free to:&lt;br /&gt;
&lt;br /&gt;
* copy, distribute, display and perform the work&lt;br /&gt;
* make commercial use of the work&lt;br /&gt;
&lt;br /&gt;
Under the following conditions:&lt;br /&gt;
&lt;br /&gt;
* you must attribute the work in the manner specified by the author or licensor&lt;br /&gt;
* you may not alter, transform, or build upon this work.&lt;br /&gt;
&lt;br /&gt;
For any reuse or distribution, you must make clear to others the license terms of this work.&lt;br /&gt;
Any of these conditions can be waived if you get permission from the copyright holder.&lt;br /&gt;
&lt;br /&gt;
Your fair use and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license) that can be consulted at: [https://creativecommons.org/terms/ website].&lt;br /&gt;
&lt;br /&gt;
== 2. Introduction ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
This tutorial contains the description of the usage of some commands for environmental analysis of raster and vector data with the uDig Processing Toolbox. The purpose of this quick start document is to introduce the user in the use of the algorithms contained in the Processing Toolbox of uDig for environmental analysis in particular related to ecology and ecosystems identification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guide is not comprehensive in documenting the use and functionality of all the Processing Toolbox library. Rather, it is intended as a short introduction to guide a user through the initial steps of running some functions required to obtain information from the maps and to evaluate some main ecological quantities and indexes. The complete documentation on the use of each Processing Toolbox tool is given directly in the Graphical Interface of the commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this tutorial, you will perform the following tasks:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;preliminary operations&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;raster data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;NDVI&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;DTM and DTM derived data&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;vector data analysis&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;proximity analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;assign attributes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;interpolation on raster&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Korean dataset of the region around Seoul, is used as example. You can download the data from [https://we.tl/tcT3E8Zu9M here]. All the data used for this quick start are open access in order to give the user the possibility to replicate the same analysis on other places in the world without any cost. The analysis can be done also using more accurate data if available.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 2.1 The uDig Processing Toolbox ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The entire Processing Toolbox library is divided into 4 main sections:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''General Tools:''' set of generic tools to handle vector data.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Import&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Export&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Data Creation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Calculation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Graph&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Proximity Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Aggregation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Overlay Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Editing&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Spatial Statistics:''' set of tools for statistics on vector layers considering the spatial distriution of the features.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point Pattern Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Global Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Local Spatial Autocorrelation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Relationship&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Spatial Distribution&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''Raster Tools:''' set of tools for raster based operations.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Descriptive Statistics&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conversion&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Extract&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Conditional&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Distance&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Math&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Density&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Interpolation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Surface Analysis&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Zonal Tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Utilities&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;'''GeoTools Processes''': set of tools coming directly from the GeoTools library to manage and analyse directly geometries and vector and raster layers.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Vector Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Raster Processes&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 2.2 Preliminary operations ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the following section we illustrate some of the functions available in the Processing Toolbox of uDig using vector layers, satellite images and the DTM in tiff grid format and leading you running the further commands.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.1 Dataset Download =====&lt;br /&gt;
First of all get (or download) the Processing Toolbox dataset at [https://we.tl/t-3Lva5z1zdB '''processing_toolbox_tutorial_dataset.zip'''] and unzip the content directly in a folder on your PC. The dataset covers an area around the city of Seoul in South Korea and contains three different type of information:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images ''LC08_L1TP_115034_20180721_20180731_01_T1.tar.gz'': unzip and untar this file to obtain a folder containing all the 11 available bands of the Landsat8 images in WGS84/UTM zone 52N coordinate system ''EPSG:32652''.&lt;br /&gt;
* Aster Digital Elevation map (DTM at a resolution of 20 m) ''20180814093648_947847400.zip'': unzip this file and consider the geotif in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
* Open Street Map vector dataset ''south-korea-latest-free.shp.zip'': unzip this file and consider the 18 shapefiles downloaded from the OSM website. The files are in LongLat WGS84 coordinate system ''EPSG:4326''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 2.2.2 Set UDig  =====&lt;br /&gt;
First of all you have to prepare a dedicated ''Project'' and ''Map'' in uDig. In order to obtain correct results of the processing tools it is recommended to convert all the dataset in a unique coordinate reference system. Since for the current use case the data have different coordinate reference systems, we choose to work with metric coordinate reference system UTM zone 52N, ''EPSG: 32652''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before starting with the analysis please do the following preliminary operations:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# open uDig&lt;br /&gt;
# select the ''Catalog'' view from the available views of the main application (usually this is placed in the lower part of the main window)&lt;br /&gt;
# drag and drop the files of the Landsat8 images band 4 and 5, the DTM and the vector layers of ''landuse'', ''natural points'', ''roads'' and ''water ways'' from your ''File Manager'' into the Catalog view&lt;br /&gt;
# right click on the Landsat8 geotif and select ''Add to New Map'' or drag and drop it in the ''Layers'' view: this should open a new ''Map'' view with the coordinate reference system of the selected data source, in this case WGS84/UTM zone 52N (please take care that this is the projection of your working ''View'')&lt;br /&gt;
# drag and drop the other files directly in the ''Map'' view or in the ''Layers'' view to visualize them all in the map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} uDig automatically reprojects the layers in the projection of the ''Map'' view, but only for visualization, the data remain in the original projection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:01_new_map_view.png|01 new map view|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1. Create the ''Map'' view starting from the layer of the Landsat8 images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:02_map_view_all.png|02 map view all|800px|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2. Import of the test dataset in uDig, zoom to all layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect3&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2.2.3 Set Coordinate Reference System of the dataset ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usually we use data from different sources therefore, very often the available information are on different coordinate reference systems (CRS) and on different/widen areas. To homogenize the works and assure that all the tools work perfectly it is reccommanded (at least) to reproject all the data in the same CRS and define a working area where to clip all the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reproject''' reprojects the selected layer in the given CRS. There are two different versions of the tool specific for raster and vector layers available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Utilities''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reproject from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Resample Type'': default value is ''NEAREST'', other options are ''BILINEAR'' and ''CUBIC''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the size of the output raster if different from the original&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input raster map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock important&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} It is important to fix the resolution of the output raster (Output Cell Size) especially with reprojection between systems using different measurement units (degree vs metric) and in any case to be sure to have squared cells in the output layer. Squared cells are mandatories if you want to use some analysis tools and in particular to use the tools of the ''HortonMachine'' library.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:05_raster_reproject.png|05 raster reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 3. Execution of the ''Reproject'' command for the raster of ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To open the graphical interface of the commands available in the list of the Processing Toolbox double click on the name of the tool you want to run. To run the tool click on the ''OK'' button after filling all the required input in the window. To exit the tool once executed, click on ''Cancel''. The tool will run every time you click on the ''Ok'' button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} The output raster will be visualized all white, use the ''Styling System'' of uDig for a better visualization.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes''' → '''Vector processes''' → '''Reproject'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Feature'' layer: select the vector layer to reproject from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Forced CRS (optional)'': force the CRS of the input vector map to the one specified here in case the input file misses this information&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Target CRS'': the target CRS, you can write it in the form of ''EPSG:32652'' or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS form current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS from layers → then select the layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select CRS → open the standar uDig window where to select the CRS&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:06_vector_reproject.png|06 vector reproject]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 4. Execution of the ''Reproject'' command for the vector of the ''landuse''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please reproject using the same tool as for the ''landuse'' layer also the vector layers of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* gis_osm_natural_free_1&lt;br /&gt;
* gis_osm_waterways_free_1&lt;br /&gt;
* gis_osm_water_a_free_1&lt;br /&gt;
* gis_osm_roads_free_1&lt;br /&gt;
* gis_osm_landuse_a_free_1.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;b&amp;gt;&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt; * Delete original layers after reprojecting&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reprojecting all the layers you can delete the original layers from the ''Layers view''. To do this you can select all the layers or one layer at a time from the ''Layers'' view and select ''Delete'' from the context menu of the right mouse click.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:07_delete_layers.png|07 delete layers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 5. Delete some layers from the ''Layers'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Clip  ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Clip''' extracts the features of the selected layer for a defined region.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Before starting with the clipping we should define our working area as a polygon geometry. The standar process to do this operation in uDig is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;create a new layer: '''Layer''' → '''Create'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;define the characteristics of the new layer:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''name'': area_of_interest&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''attributes'':&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;name: String&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;geometry: Polygon&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;CRS: UTM zone 52N (EPSG: 32684)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;click on ''OK'' to add the new layer to the project&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;select the editing tool to '''Create''' → '''Create Rectangle'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;draw a rectangle in the area around Seoul (not too big but big enough to contain some of the natural points, see the picture).&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The following image contains an example of the ''area of interest''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:09_area_of_interest.png|09 area of interest]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 6. Example of the layer of the ''area of interest''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is a new module in the Processing Toolbox developed to simplify this operation. In fact, the '''Geometry to Features''' tool can be used to automatically extract a polygon layer on the Map extent.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Import''' → '''Geometry to Features'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Geometry (WKT)'': the geometry to import, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: and then select the first option ''Polygon from Map’s Extent''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer or the features to use to create the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''CRS (optional)'': the CRS of the input geometry if different from the one of the current Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Name (optional)'': name for the features in the new layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Single Part (optional)'': boolean variable to define if it is required to split multipart geometry to single parts, default is ''No''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result Features'': the path and name of the output layer containing the new features.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:32_geom2feature.png|32 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 7. Execution of the ''Geometry to Features'' command to extract the area of interest.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_16&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:33_geom2feature.png|33 geom2feature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 8. Example of the layer of the ''area of interest'' extracted with the command ''Geometry to Features''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some different versions of the '''clipping''' tool. You can visualize all of them just typing the word '''clip''' in the search box of the Processing Toolbox window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:08_search_clip.png|08 search clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 9. Search for the different possibilities of clipping operations in the Processing Toolbox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular we are interested in clipping both raster and vector layers and therefore we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for raster layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Extract''' → '''Clip by Extent'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: selects the raster layer to clip from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Extent'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Current Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Full Extent of the Map&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Layer’s Extent: selects the layer of the ''area_of_interest''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:10_raster_clip.png|10 raster clip]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 10. Execution of the ''Clip by Extent'' command for the projected raster of the ''DTM''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* for vector layers:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools''' → '''Extract''' → '''Clip With Polygon Geometry'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Feature'' layer: select the vector layer to clip from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Clip Polygon Geometry (WKT)'': a reference for the boundaries of the clipping area, click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: then selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: select the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'': the path and name of the output vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:11_clip_vector.png|11 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 11. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:12_clip_vector.png|12 clip vector]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 12. Execution of the ''Clip With Polygon Geometry'' command for the projected vector of the ''landuse'', select the geometry picker.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please clip using the same tools as used for ''DTM'' and ''landuse'', respectively for raster and vector layers, also the other following layers (take care to use the reprojected ones):&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Landsat8 images of band 4 and 5: LC08_L1TP_116034_20160519_20170324_01_T1_B4.TIF and LC08_L1TP_116034_20160519_20170324_01_T1_B5.TIF&lt;br /&gt;
* osm_natural_utm&lt;br /&gt;
* osm_waterways_utm&lt;br /&gt;
* osm_water_a_utm&lt;br /&gt;
* osm_roads_utm.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After clipping all the layers you can delete the original layers from the ''Layers view''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The final configuration of the application and data should be like the one in the next image.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:13_preliminary_operations.png|13 preliminary operations]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 13. Configuration of the uDig application after the preliminary operations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SetNull''' sets specific values in the raster layer to assign to ''NoData''. This tool works only for raster layers and it allows the user to set the cell with certain values to ''NoData'' (not valid). Doing this, these cells will be automatically excluded from further elaborations on the raster maps like statistical analysis or during the evaluation of spatial indexes.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{note}} To query single values of the raster layers or to display the attributes of specific features of vector layers please use the '''info''' tool of uDig available in the ''Palette'' of the ''Map'' view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To set the value of ''0.0'' of the Landsat8 images to ''NoData'' you can use the ''SetNull'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools''' → '''Conditional''' → '''Set Null'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tool requires in input:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of which to set the ''NoData'' values from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Band index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''NoData Filert Expression'': expression used by the software to identify the ''NoData'' values in the layer, click on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it.&lt;br /&gt;
# ''Replace NoData (optional)'': flag to identify if the tool has to work in the standard or in the opposite way, that means replacing ''NoData'' values with a valid value&lt;br /&gt;
# ''New Value (optional)'': this value is required only if the ''Replace NoData'' is activated (''Yes'') and it represents the new value to assign to previous ''NoData'' values&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;horton01_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:14_setnull.png|14 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 14. Execution of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In our example we have to set the value ''0.0'' of the Landsat8 images to ''NoData''. This expression is very easy and can be written directly in the ''NoData Filert Expression'' as:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''[Value] = 0.0'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In case there is the need to use more advanced expressions to identify the values of a raster map to set to ''NoData'' it is possible to use the ''Query Builder Dialog'' integrated in the Processing Toolbox just clicking on the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; button and select:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Layer: only for testing the expression directly in the ''Query Builder Dialog''&lt;br /&gt;
* Fields: in case of raster layers the only field available is the ''Value'', double click on the item in this section to add it to the query or type ''Value'' directly in the text field below&lt;br /&gt;
* Operators: select one of the available operators or directly type it in the text field below&lt;br /&gt;
* SQL where clause: the resulting SQL expression used by the software for filtering the values and assigning the ''NoData''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The ''Query Builder Dialog'' gives also the possibility to show in the ''Values'' section a sample or all the data contained in the selected raster layer clicking on the ''Sample'', or for all values on ''All'' button and to ''Test'' the expression inserted clicking the specific button at the bottom of the window.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox01_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:15_setnull.png|15 setnull]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 15. The ''Query builder options'' of the ''Set Null'' command for the raster of the ''Landsat8'' images.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To go on with the tutorial please set the null values to zero using the same ''Set Null'' tool for both the raster layers of the Landsat8 images, band 4 and 5: LC08_L1TP_116034_T1_B4_utm_seoul.tif and LC08_L1TP_116034_T1_B5_utm_seoul.tif.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3. Analysis of Landsat raster images ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In the field of environmental sciences lot of analysis have to be performed on raster data. In this tutorial we will consider two different kind of raster data:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# satellite images (Landsat8)&lt;br /&gt;
# digital elevation maps (DTM) and derived products.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Raster data are continuous data in the format of a matrix of cells (or pixels) organized into rows and columns where each cell contains a value representing the content of the raster. The easiest way to observe the contened values is to use a right style, but if you need some more precise information you have to analyse them. The Spatial Toolbox provides useful tools for analyzing and do elaborations of raster layers.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Summary Statistics for Raster''' is a tool which prints a summary of the main statistics of the selected raster layer. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Summary Statistics for Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:16_summary_stats.png|16 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 16. Execution of the ''Summary Statistics for Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tools evaluates the following statistics:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Count: number of valid cells of the raster layer&lt;br /&gt;
* Invalid Count: number of not valid cells or unclassified values&lt;br /&gt;
* Minimum: minimun value of the raster&lt;br /&gt;
* Maximum: maximum value of the raster&lt;br /&gt;
* Range: the entire range of the data content in the raster layer (max - min)&lt;br /&gt;
* Ranges: the available ranges the data content in the raster layer in case of an elaboration on multiple geometries&lt;br /&gt;
* Sum: the sum of the data content in the raster layer&lt;br /&gt;
* Mean: the average of the data content in the raster layer&lt;br /&gt;
* Variance: the variance of the data content in the raster layer&lt;br /&gt;
* Standard Deviation: the standard deviation of the data content in the raster layer&lt;br /&gt;
* Coefficient of Variance: the Relative Standard Deviation of the data content in the raster layer&lt;br /&gt;
* NoData: the value representing the NoData cells in the raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 17. Output of the ''Summary Statistics for Raster'' on the ''Landsat8 image of Band 5''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:18_summary_stats.png|18 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 18. Output of the ''Summary Statistics for Raster'' on the ''DTM''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram Raster''' is a tool which calculates the information to be used to create a histogram of the content of the raster layer. In particular, this tool calculates and prints the number of cells of each different value in the map. These values can be used to display a histogram chart, just select and copy and paste them in a spreadsheet. It is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Descriptive Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Histogram raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to elaborate from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Crop Geometry (optional)'': a reference for &amp;amp;quot;clipping&amp;amp;quot; a custom area of the raster layer if you need to extract the information on a subset of the complete raster; click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:19_histogram.png|19 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 19. Execution of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:20_histogram.png|20 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 20. Output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:21_histogram.png|21 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 21. Graphic output of the ''Histogram Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Description''' is a tool which can be used to have a first description of the general metadata of the selected raster. The metadata visualized are: Name, Columns, Rows, Number of Bands, X-Y Cell Size, Pixel Type, Pixel Depth, NoData Value, the whole Extent and the CRS (Coordinate Reference System). This tool gives also the possibility to directly perform Summary Statistics.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_20&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:37_raster_desc.png|37 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 22. Execution of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_21&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:36_raster_desc.png|36 raster desc]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 23. Output of the ''Raster Description''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 3.1. The Normalized Difference Vegetation Index ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
From an ecological and environmental point of view an interesting index which can be calculated from Landsat8 images is the NDVI. The '''Normalized Difference Vegetation Index''' is a simple graphical indicator that can be used to analyse remote sensing measurements and assess whether there is live green vegetation on the surface of the analysed area. The expression of the NDVI is:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
\(NDVI={\frac {(NIR-Red)}{(NIR+Red)}}\)&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a module to directly perform this index, it is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Math → NDVI'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Near Infrared Band'' layer: select the raster layer containing the NIR information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Near Infrared Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Visible Red Band'' layer: select the raster layer containing the VIS red information from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Red Band Index'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&lt;br /&gt;
# ''Output Raster'': the path and name of the output raster layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output raster layer will be shown with an homogenious&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:22_ndvi.png|22 ndvi]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 24. Execution of the ''NDVI''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To understand the content of the NDVI map it is recommended to do some statistical analysis on it, please run the modules for ''Descriptive Statistics'' on this map as described in the previous paragraph:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# Summary Statistics for Raster&lt;br /&gt;
# Histogram&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Reclassify Raster''' is used to reassign a value, a range of values, or a list of values in a raster to new output values. Reclassification is useful to assign each value (pixel) of a raster map to a category in a list of predefined categories. In our example NDVI values are in the range from -0.2 to 0.64, but these values are a bit complicated to understand for a wide public, so a reclassification process will be useful. From bibliography studies and without a real validation we can use, for example, the following ranges for reclassification:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|+ Table 1. Values and classes used for reclassifying NDVI raster layer&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| CLASS&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MAX VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| MIN VALUE&lt;br /&gt;
!width=&amp;quot;25%&amp;quot;| DESC&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| -0.5&lt;br /&gt;
| 0.0&lt;br /&gt;
| water&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 0.0&lt;br /&gt;
| 0.05&lt;br /&gt;
| bare soil&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 0.05&lt;br /&gt;
| 0.2&lt;br /&gt;
| other (roof, city, …​)&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 0.2&lt;br /&gt;
| 0.3&lt;br /&gt;
| grassland&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 0.3&lt;br /&gt;
| 0.4&lt;br /&gt;
| agriculture&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 0.4&lt;br /&gt;
| 0.7&lt;br /&gt;
| forest&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Reclassification is available in the section:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Reclass'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Reclassify Raster''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Input Raster'' layer: select the raster layer to reclassify from the list of the raster layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Reclass Ranges'': the ranges of the different categories in which to assign each value of the raster map; write here the list of categories and intervals or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build expression: opens the ''Expression Builder Dialog'' where it is possible to insert a formula to assign the values to a class&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a set or to all the different values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to select a vector layer and assign the values of the raster layer to a statistic extraction of the values of one of its fields&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Retain Missing Values'': defines whether missing values in the reclass table maintain their value (true) or get mapped to NoData (false)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'': the path and name of the output raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To use the categories of the table above we can write them directly in the text field of the ''Reclass Ranges'' in the form of:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
''-0.2 0.0 0; 0.0 0.05 1; 0.05 0.2 2; 0.2 0.3 3; 0.3 0.4 4; 0.4 0.65 5''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:24_reclass.png|24 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 25. Execution of the ''Reclassify Raster''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
After reclassification the visualization of the NDVI map will be more clear and it is also easier to style it using a ''Unique Values'' color table.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other bands of the Landsat8 images are interesting for an ecological point of view, before going on with the next operations please proceed to reclassify also the map of band 5 representing the NIR (Near Infra Red) which is important for ecology studies because healthy plants reflect this frequency. Usually the bright features of this band are parks and other heavily irrigated vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:25_reclass.png|25 reclass]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 26. NDVI map styled after reclassification.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock tip&amp;quot;&amp;gt;&lt;br /&gt;
{{note}} '''Legend''' of the visualized layers in uDig is available in the '''Decoration''' folder of the catalog. To add the legend to the map go in the ''Catalog View'' and scroll until ''Decoration'' item is visualized, then click on the arrow before the name to show its content. Double click on ''Legend'' to add it directly to the ''Map View''. To define a personalized style for the legend select the ''Legend'' layer form the ''Layers View'' and access the style editor &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:27_style_button.png|questionmark]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:26_legend.png|26 legend]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 27. Access to the ''Legend'' item from the ''Catalog View''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Band Merge''' is an other interesting tool for analysing satellite data expecially Landsat8 images which are divided into 11 different images. Possible combination of these images can give the user interesting information about the elements on the surface. For example the combination of bands of Red, Green and Blue (RGB) is used to obtain a true color map, useful also for studying aquatic habitats. To do this we can use the ''Band Merge'' tool available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''GeoTools Processes → Raster processes'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
double click on the '''Band Merge''' entry. The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Coverages'': select the input raster layers of the different bands to merge from the list of the raster layers available in the ''Map'', click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to select them from the ''Multiple Layers Selector''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''ROI (optional)(WKT)'': optional value of the region of interest if you want to run the process on a smallest area rather than all images click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to select it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Point&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;LineString: selects the boundary from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Polygon: selects the polygon from the ''area_of_interest'' Layer’s Extent&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Geometry from Layers…​: selects the layer and feature ID of the polygon to use for delimiting the new vector layer&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''TransformChoice (optional)'': choose the transformation to use in case of a transformation of the original input data is needed; insert the expression of the transformation here or click the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line to choose how to define it:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Build Expression: opens the ''Expression Builder Dialog'' to write the transformation using the available tools&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Multiple Fields: opens the ''Multiple Fields Selector'' where it is possible to select the fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Select Statistical Fields: opens the ''Statistics Fields Selector'' where it is possible to selectthe fields of a vector layer as parameters of the transformation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Index (optional)'': the index used by the TransforChoice parameter needed only if there is a TransforChoice&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Result'': the path and name of the output merged raster layer.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:29_merge.png|29 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 28. Execution of the ''Band Merge'' with the detail of the window were to select the input raster layers of the different bands, The example of the true color map.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other interesting maps che be evaluated using the merging tools combining the bands:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* bands 5,4,3 to have clearer boundaries of the water bodies and stess the difference of the vegetation types&lt;br /&gt;
* bands 5,6,4 which is crisper than the previous one where different vegetation types can be more clearly defined and land/water interface more clear&lt;br /&gt;
* bands 7,5,3 similar to the previous one but in this case the vegetation appears green&lt;br /&gt;
* bands 6.5.2 specific to visualize agricultural vegetation.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Please proceed in the elaboration of these other maps and try to define different styles of visualization and to identify the differences and the peculiarities of each single map. The following images show some results.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:28_merge.png|28 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 29. Visualization of the output true color map of merging bands 2,3,4.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:30_merge.png|30 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 30. Visualization of the output true color map of merging bands 3,4,5.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox02_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:31_merge.png|31 merge]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 31. Visualization of the output true color map of merging bands 3,5,7.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis of the Digital Terrain Model ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The raster of the Digital Terrain Model (DTM) contains the values of the elevation of the terrain at the given resolution. This information can be used to perform geomorphological analysis on the terrain (slope, curvature, …​) or to link the information of the elevation to other discrete data.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
For example, it could be useful to analyse the connection between a discrete information (the land use) and the elevation or the slope of the terrain. The tool to perform this operation is the ''Zonal Statistics'' which is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Zonal Tools → Zonal Statistics'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Polygon Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Field (optional)'': name of the new field that will be added to the input polygon layer containing the results&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Value Coverage'' layer: select the raster layer containing the values for which to perform zonal statistics on the polygons, in this case the ''DTM''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Band Index (optional)'': optional value of band index to use for multiple band layers, otherwise leave it at '''0'''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Statistics Type (optional)'': the statistical analysis on the raster values for each polygon of the features layer, you can choose between:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Count&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Sum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Mean&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Minimum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Maximum&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Range&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Standard Deviation&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Features'' layer: the path and name of the output polygon layer containing the additional field with the statistics.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| Before proceeding with the Zonal Statistics it is recommended to set zero values of the DTM map (0.0) to null with the ''Set Null'' tool as described in the previous chapter.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The example is performed considering the average value of elevation in each polygon as specified in the following figures.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:34_zonalstats.png|34 zonalstats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 32. Execution of the ''Zonal Statistics''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Val''' and '''Cell_Area'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:17_summary_stats.png|17 summary stats]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 33. Output of the ''Zonal Statistics'' of the DTM on the LandUse polygons with a tematic styling considering the average elevation of the polygons.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
To analyse the results of the zonal statistics it is possible to use a spatial correlation which can be evaluated using the Ordinary Linear Regression (OLS) considering the two variables, landuse (code) and average elevation (val) respectively as dependent and independent variables. This tool is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Spatial Relationships → Ordinary Least Squares'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''landuse'' crop on the area of interest from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Dependent Variable'': select the field of the input polygon layer containing the information about the dependent variable (i.e. code)&lt;br /&gt;
# ''Explanatory Variable'': select the field of the input polygon layer containing the information about the explanatory variable (i.e. value)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output polygon layer containing the additional field of the OLS.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:38_ols.png|38 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 34. Execution of the ''Ordinary Least Squares''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The output will be a vector layer with the same features of the input one with two additional attributes (visible in the ''Table'' view) named '''Estimated''', '''Residual''', '''StdResid '''and *StdResid2'''. As you can see from the following image the *R^2''' is very low so basically there is no linear correlation between the two variables.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:39_ols.png|39 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 35. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:40_ols.png|40 ols]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 36. Output of the ''Ordinary Least Squares'' of the elevation on the landuse.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is possible to do this kind of evaluations also considering a different independent variable for example the '''slope''' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 4.1. Morphological analysis on DTM ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains some tools for basic morphological analysis on a Digital Terrain Model (DTM). Example of these tools are the slope and the curvature models which will be analysed in the following sections.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Slope''' tool identifies the slope of the terrain as the gradient, or in other words, the rate of maximum change in z-value from each cell of a raster surface following the drainage directions. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Slope'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the maximum gradients of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Measurement Units (optional)'': select the unit of measurement for the output slope raster map between the given options (Degree, Percentrise)&lt;br /&gt;
# ''Z factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the slope.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:41_slope.png|41 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 37. Execution of the ''Slope''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:42_slope.png|42 slope]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 38. Output of the ''Slope'' in degree.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Curvature''' tool calculates the curvature of a raster surface (''DTM''). The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Curvature'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the curvature of the surface from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Z Factor (optional)'': specify the number of ground x,y units in one surface Z unit; this value can be constant or given as field in a vector layer (you can select the vector layer and the other parameters using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the curvature.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:43_curvature.png|43 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 39. Execution of the ''Curvature''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:44_curvature.png|44 curvature]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 40. Output of the ''Curvature'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains two modules to quantify the topographic heterogeneity of a surface, one general and one more specific for terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the general tool calculate the roughness of the surface as the maximum difference between the values in two cells. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Roughness'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the roughness of the surface from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:45_roughness.png|45 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 41. Execution of the ''Roughness''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:46_roughness.png|46 roughness]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 42. Output of the ''Roughness'' of the terrain as a general surface.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Roughness''', represents the tool specific to evaluate the ruggedness of the terrain (''DTM'') as the average difference in height. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Surface Analysis → Terrain Ruggedness Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Raster'' layer: select the raster layer of the ''DTM'' for which to evaluate the ruggedness from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Output Raster'' layer: the path and name of the output raster layer containing the Terrain Ruggedness Index.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:47_tri.png|47 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 43. Execution of the ''Terrain Ruggedness Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:48_tri.png|48 tri]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 44. Output of the ''Terrain Ruggedness Index'' of the terrain.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| As shown in the previous images, considering the DTM the two variables (roughness and Terrain Ruggedness Index) have different values but the same behaviour.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
It is now possible to evaluate the correlation between the ''Land Use'' and all these variables, calculated as raster maps (slope, curvature, roughness and Terrain Ruggedness Index) as previously done with the DTM using the ''Zonal Statistics'' and ''Ordinary Least Squares (OLS)'' tools.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 4.2. Add information to vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
There is another possibility to extract continuous information over a surface from raster layers to discrete points in a vector layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Extract Raster Values to Points''' extracts the cell values of a raster for a set of points and stores these values in the attribute table of an output vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Calculation → Extract Raster Values to Points'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''natural sites'' for which to extract the values from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Value Field (optional)'': name of the field containing the values of the raster layer in the new vector layer&lt;br /&gt;
# ''Value Raster'' layer: select the raster layer (i.e. the Terrain Ruggedness Index, Slope) of from which to extract the values to add to the vector layer from the list of the raster layers available in the ''Map''&lt;br /&gt;
# ''Extraction Type (optional)'': select the value to extract from the raster layer; the options are: Default, SlopeAsDegree, SlopeAsPercentrise, Aspect&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the additional field with raster values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:49_extract_rast2point.png|49 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 45. Execution of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox03_15&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:50_extract_rast2point.png|50 extract rast2point]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 46. Output of the ''Extract Raster Values to Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect1&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Working with vector data ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;sectionbody&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Geospatial vector layers are a representation of the world using points, lines, and polygons. Vector models usually are used for storing data that has discrete boundaries stored in an attribute table. The attribute table is definitely a table containing for each feature the values of the list of attributes available, some of them can also be null or zero.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Analysis on vector data can be performed on geometries or on some attribute and, in general, are not so memory expensive like the rasters analysis. In this chapter we will see some of the possibilities available in the Processing Toolbox.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
=== 5.1. Analysis of single layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The '''Nearest Neighbor Index (NNI)''' is based on the average distance from each feature to its nearest neighboring feature. It measures the spatial distribution of a pattern to evaluate if it is regularly dispersed (=probably planned), randomly dispersed, or clustered. It is normally used for spatial geography (study of landscapes, human settlements, etc).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The NNI is expressed as the ratio of the observed distance divided by the expected distance. The expected distance is the average distance between neighbors in a hypothetical random distribution:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* NNI &amp;amp;lt; 1 : the pattern exhibits clustering&lt;br /&gt;
* NNI = 1 : randomly dispersed pattern&lt;br /&gt;
* NNI &amp;amp;gt; 1 : the trend of the distribution is toward dispersion or competition&lt;br /&gt;
* NNI = 2.15 : regularly dispersed /uniform pattern.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Nearest Neighbor Index'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to evaluate the NNI from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Distance Method (optional)'': method to evaluate the distance between the single features and each neighboring feature, the available options are ''Euclidean'' and ''Manhattan''&lt;br /&gt;
# ''Area (optional)'': the area of the study region (you can select the vector layer to use to evaluate the area using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_01&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:51_nni.png|51 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 47. Execution of the ''Nearest Neighbor Index''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Z score value is a measure of statistical significance to evaluate whether or not to reject the null hypothesis (in this case, randomly distributed points). If an area value is not specified, then the area of the minimum enclosing rectangle around all the features is used. The result is a report containing the NNI of the elements in the input layer over the specified area. The variables reported are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
* Observed Point Count&lt;br /&gt;
* Study Area&lt;br /&gt;
* Observed Mean Distance&lt;br /&gt;
* Expected Mean Distance&lt;br /&gt;
* Nearest Neighbor Index&lt;br /&gt;
* Z-Score&lt;br /&gt;
* p-Value&lt;br /&gt;
* Standard Error&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_02&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:52_nni.png|52 nni]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 48. Output of the ''Nearest Neighbor Index'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In this case the Z-Score shows that there is not statistical significance in this evaluation, even if the NNI 0.3 means that the distribution exhibits some clusters.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Other methods to perform point pattern analysis is the ''quadrant method'' using the '''Quadrant Analysis''' tool. This technique consists in dividing the study area into sub-regions (aka quadrats). Then, the point density is computed for each quadrat by dividing the number of points in each quadrant by the quadrant’s area. The version integrated in the Processing Toolbox consider only squares quadrants. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Spatial Statistics → Point Pattern Analysis → Quadrant Analysis'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the quadrant analysis from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Grid Size (optional)'': the dimension of the quadrants in which to divide the area of the study region (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line).&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The quadrant size influence the measure of local density and must be chosen with care. If the quadrants size is too small there is the risk of having many quadrants with no points which may prove uninformative. In case of too large quadrants size there is the risk of missing particular changes in spatial density distributions. An other peculiarity of this method is that the quadrant regions do not have to take on a uniform pattern across the study area.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_03&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:53_quadrant.png|53 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 49. Execution of the ''Quadrant Analysis''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_04&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:54_quadrant.png|54 quadrant]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 50. Output of the ''Quadrant Analysis'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Kernel Density''' extend the quadrant methodology, like the quadrant density, it computes a localized density for subsets of the study area, but unlike the quadrant density, the sub-regions overlap one another providing a moving sub-region window. This moving window is defined by a kernel. In this way, the kernel density approach generates a grid of density values based on cell size smaller than the kernel window. Each cell is assigned the density value computed for the kernel window centered on that cell. The output is a raster containing the density values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The kernel defines the shape and size of the window, but it can also weight the points following a defined kernel function. The most popular kernel functions assign weights to points that are inversely proportional to their distances to the kernel window center. The simplest of functions is a basic kernel where each point in the kernel window is assigned equal weight.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''Raster Tools → Density → Kernel Density'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Point Features'' layer: select the vector layer of the ''Natural Points'' for which to perform the kernel density from the list of the vector layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Kernel Function (optional)'': the function to use to weight the points in the kernel&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Population Field (optional)'': the field containing the population value for each feature, if available&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Search Value (optional)'': the radius of the kernel used to calculate the density (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Cell Size (optional)'': the value of the cell size of the output raster (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Extent (optional)'': the region of the output raster (specify the boundaries), you can select the options available to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;ulist&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Current Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Full Extent of the Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Layers Extent'': select the raster or vector layer from the list of all the layers available in the ''Map''&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;''Output Raster'' layer: the path and name of the output raster layer containing the roughness of the surface.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_05&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:55_kernel_density.png|55 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 51. Execution of the ''Kernel Density''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_06&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:56_kernel_density.png|56 kernel density]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 52. Output of the ''Kernel Density'' of the ''Natural Points''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock warning&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| This elaboration uses much memory and it requires lot of time to finish. Please be careful of delimiting the extent of the elaboration and a reasonable value for the output cell size.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.2. Combination of multiple layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
In environmental studies it is often useful to perform analysis on multiple layers to understand if there is a correlation between different discrete information. An example of this is the evaluation of the distance between the features in a layer with the nearing neighboring features in a second layer. '''Calculate Nearest Neighbor Distance''' calculates the distance between each feature in the input layer and the closer feature in a second layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Proximity Analysis → Calculate Nearest Neighbor Distance'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Features'' layer: select the vector layer of the ''Natural Points'' for which to calculate the distance from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near Features'' layer: select the vector layer of the ''Roads'' or ''Water Lines'' to use as reference to calculate the distance from the features of the ''Input Layer'', from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Near ID Field (optional)'': the field containing the ID of the nearest feature (output layer)&lt;br /&gt;
# ''Maximum distance (optional)'': the value of the maximum distance to explore for searching the feature (you can select the vector layer to use to define this value using the &amp;lt;span class=&amp;quot;image&amp;quot;&amp;gt;[[File:00_question_mark.png|questionmark]]&amp;lt;/span&amp;gt; at the end of the line)&lt;br /&gt;
# ''Output Features'' layer: the path and name of the output vector layer containing the proximity information for each feature of the ''Input Features'' layer.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_050&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:57_distance.png|57 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 53. Execution of the ''Calculate Nearest Neighbor Distance'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_060&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:58_distance.png|58 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 54. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Natural Points'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| The output of the Nearest Neighbor Distance tool shows clearly that the closest road to the natural points are ''footways''.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''. The result is the following:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_07&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:59_distance.png|59 distance]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 55. Output of the ''Calculate Nearest Neighbor Distance'' of the ''Water Lines'' vs the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;page-break-after: always;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;sect2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 5.3. Summary of statistics on vector layers ===&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The Processing Toolbox contains a set of tools which can be used to create a statistics report on the results obtained for the different analysis. In this example we can use some tools to realize charts on the distance calculated between the ''Natural Points'' and the ''Roads'' or the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Histogram''' is a tool to create a histogram chart on a defined field of the selected vector layer. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Histogram'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the histogram from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Input Field'': select the field of the vector layer to use as reference for the chart from the list of the layers attributes (only numeric attributes are considered)&lt;br /&gt;
# ''Bin Size'': the number of bins in which to divide the range of the values in the input field&lt;br /&gt;
# ''Y Axis Type'': select if you want the values of the ''Ratio'' or the ''Frequency'' of the values in the ''Y'' axis.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_08&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:60_histogram.png|60 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 56. Execution of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_09&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:61_histogram.png|61 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 57. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_10&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:62_histogram.png|62 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 58. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
Now it is possible to use the same tool to perform the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_11&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:63_histogram.png|63 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 59. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_12&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:64_histogram.png|64 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 60. Output of the ''Histogram'' on the distance between the ''Natural Points'' and the ''Water Lines''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
'''Scattered Plot''' is a tool to create a scattered plot chart on a defined field of the selected vector layer using an other field as reference variable. The module is available in:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph text-center&amp;quot;&amp;gt;&lt;br /&gt;
'''General Tools → Graph → Scattered Plot'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;paragraph&amp;quot;&amp;gt;&lt;br /&gt;
The required input parameters are:&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;olist arabic&amp;quot;&amp;gt;&lt;br /&gt;
# ''Input Layer'': select the vector layer of the ''Natural Points with road distance'' for which to create the scattered plot from the list of the vector layers available in the ''Map''&lt;br /&gt;
# ''Independent Var Field (X Axis)'': select the field of the input vector layer to use as independent variable on the ''X'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Dependent Var Field (X Axis)'': select the field of the input vector layer to use as dependent variable on the ''Y'' axis (only numeric fields can be accepted)&lt;br /&gt;
# ''Calculate Basic Statistics'': select this chechbox to extract also the basic statistics information in the same process&lt;br /&gt;
# ''Calculate Pearson Correlation Coefficient'': select this chechbox to extract also the information related to the Pearson Correlation Coefficient in the same process.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_13&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:65_histogram.png|65 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 61. Execution of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;procToolbox04_14&amp;quot; class=&amp;quot;imageblock&amp;quot; style=&amp;quot;text-align: center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
[[File:66_histogram.png|66 histogram]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;title&amp;quot;&amp;gt;&lt;br /&gt;
Figure 62. Output of the ''Scattered Plot'' on the distance between the ''Natural Points and the _Roads''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;admonitionblock note&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| ''''&lt;br /&gt;
| the ''Independent Variable, X'' in this case is the code representing the category of the road.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;footer-text&amp;quot;&amp;gt;&lt;br /&gt;
Version 0.1&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wiki-Somakang</name></author>
	</entry>
</feed>